package com.njtoyo.taxi.admin.rest.pojo.dto.rule.online_price_rule;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@Accessors(chain = true)
public class OnlinePriceOptionDto {

    private String ratio;

    private BigDecimal max;

    private BigDecimal min;

    private String[] flag;




    @Data
    @Accessors(chain = true)
    public static class Flag {
        private Boolean startingFee;
        private Boolean exceedMileageFee;
        private Boolean exceedTimeFee;
        private Boolean waiting;
        private Boolean priceMarkup;
        private Boolean emptyBackFee;
        private Boolean badWeather;
        private Boolean holiday;
        private Boolean other;
        private Boolean toll;
    }

}
